package com.hksj.Intelligentmanagement.service;

import com.hksj.Intelligentmanagement.mapper.HandNumbnessStatisticalMapper;
import com.hksj.Intelligentmanagement.vo.*;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class HandNumbnessStatisticalService {

    @Autowired
    private HandNumbnessStatisticalMapper handNumbnessStatisticalMapper;

    public HandNumbnessCountVo selectHandNumbnessCount() {
        HandNumbnessCountVo res =handNumbnessStatisticalMapper.selectHandNumbnessCount();
        return res;
    }

    public SurgicalStatusNumVO selectHandNumbnessDistribution() {
        SurgicalStatusNumVO res = handNumbnessStatisticalMapper.selectHandNumbnessDistribution();
        return res;
    }

    public List<AnesthesiaTypeDistributionVo> selectAnesthesiaTypeDistribution() {
        List<AnesthesiaTypeDistributionVo> list=handNumbnessStatisticalMapper.selectAnesthesiaTypeDistribution();
        return list;
    }

    public List<DeptSurgicalNumVO> selectOperationByDepartment() {
        return handNumbnessStatisticalMapper.selectOperationByDepartment();
    }
}
